const dt = require('moment')

const dtStr = dt().format('YYYY-MM-DD HH:mm:ss');
console.log(dtStr);